package com.expert.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.expert.dto.AddScoreDTO;
import com.expert.pojo.ScoreDetailed;
import com.expert.vo.ScoreMoreInfo;
import com.expert.vo.ShowScoreDataVo;

import java.util.List;

/**
 * @ClassName: SocreDetailedService
 * @Author: cxs
 * @Date: 2024/03/30 16:03
 * @Description:
 **/
public interface ScoreDetailedService extends IService<ScoreDetailed> {
    /**
     *添加项目评价
     * @param addScoreDTO
     */
    void addScore(AddScoreDTO addScoreDTO);

    /**
     * 查询评分列表
     * @param page
     * @param pageSize
     * @param expertName
     * @param projectName
     * @return
     */
    Page<ShowScoreDataVo> showScoreList(Integer page, Integer pageSize, String expertName, String projectName);

    /**
     * 更多评分
     * @param id
     * @return
     */
    ScoreMoreInfo showMore(Long id);
}
